from tkinter import *

root = Tk ()
root.title ("ИТ марафон")
root.geometry("500x500")

canvas= Canvas (bg="white", width =500, height=500)
canvas.pack (anchor=CENTER, expand=1)

print ("Введите координаты фигуры")
x = int(input("x="))
y = int(input("y="))
N = int(input("Увеличение="))
canvas.create_rectangle(x, y, x+N*5, y+N*10,fill='violet',outline='violet')
canvas.create_rectangle(x+N*5, y+N*5, x+N*10, y+N*15, fill='blue', outline='blue')


root.mainloop()